package com.famous.dagligen.iterator.right;

import java.util.ArrayList;
import java.util.List;

/**
 * @author zhengdalong
 * @version V1.0
 * @date 2019/8/17 4:34 PM
 */
public class ChineseContainer implements AbstractContainer<MenuItem> {

    private static List<MenuItem> list = new ArrayList<>();

    static {
        list.add(new MenuItem("1", 100L, "A"));
        list.add(new MenuItem("2", 100L, "B"));
        list.add(new MenuItem("3", 100L, "C"));
        list.add(new MenuItem("4", 100L, "D"));
    }

    @Override
    public AbstractIterator<MenuItem> getIterator() {
        return new ChineseIterator(list);
    }
}
